/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.sunspotworld.market;

import org.sunspotworld.sensortasks.routingtasks.BidTask;

/**
 *
 * @author me
 */
public class Reservation {
    private BidTask slot = null;
    private double value;
    
    public Reservation(BidTask task, double bid) {
        value = bid;
        slot = task;
    }
    
    public double getValue() {
        return value;
    }
    
    public BidTask getSlot() {
        return slot;
    }
}
